//
//  IfengPhotoLabel.h
//  IfengNews
//
//  Created by LiuLian on 14-1-17.
//
//

#import <UIKit/UIKit.h>

@interface IfengPhotoLabel : UIView

@property (nonatomic,strong) NSString *text;
@property (nonatomic,strong) NSMutableAttributedString *attrString;

- (void)setTitle:(NSString *)title WithFontSize:(CGFloat)_fontSize WithGap:(CGFloat)_labelGap WithTextColor:(UIColor *)_color;

+ (NSInteger)getLinesWithLabel:(IfengPhotoLabel *)_label;
+ (CGFloat)getHeightWithTitleLabel:(IfengPhotoLabel *)_titleLabel WithInfoLabel:(IfengPhotoLabel *)_infoLabel ToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation;
+ (CGFloat)getFrameHeightWithTitleLabel:(IfengPhotoLabel *)_titleLabel WithInfoLabel:(IfengPhotoLabel *)_infoLabel WithIndex:(NSInteger)_index;

@end
